Skip to main content
Version: 3.x.x

BaseAdapterType


import { BaseAdapterType } from "@hyper-fetch/core"

Description

Defined in adapter/adapter.types.ts:10

Preview

type BaseAdapterType<AdapterOptions,MethodType,StatusType,AdditionalData,QueryParams> = (request: RequestInstance, requestId: string, DO_NOT_USE?: { additionalData?: AdditionalData; method?: MethodType; options?: AdapterOptions; queryParams?: QueryParams; status?: StatusType }) => Promise<ResponseReturnType<any, any, any>>;

Structure

(request: RequestInstance, requestId: string, DO_NOT_USE?: [object Object]) => Promise<ResponseReturnType<any, any, any>>